import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login.vue'
import Home from '@/components/top.vue'
import index from '@/components/index.vue'
import imglist from "@/components/imglist.vue"

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/index',
      name: 'Index',
      component: index
    },
    {
      path: '/imglist',
      name: 'Imglist',
      component: imglist
    }
  ]
})
